<?php
$redis = new redis();
$redis->connect('172.10.0.1', 6379);
$result = $redis->info();
echo '<pre>';
print_r($result);
echo '</pre>';
$redis->set('tk', time());
?>